﻿using System;

namespace NetFrameworkServer
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("TestConsolePipeServer started.\n");

            var pipeServerHelper = new PipeServerHelper();
            pipeServerHelper.StartTest(".\\\\pipe\\NetCoreServerSamples");
            //

            Console.WriteLine("Press any key to stop...");
            Console.ReadKey();
            Console.WriteLine();

            pipeServerHelper.StopTest();

            Console.WriteLine("Press any key to exit...");
            Console.ReadKey();
            Console.WriteLine();
        }
    }
}
